/*
Theme Name: GetRight Guides
Theme URI: https://getrightsneakers.com/guides/
Author: GetRightSneakers
Description: Black-and-white editorial theme for the GetRightSneakers guides, matching the store.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: getright
*/
:root { --bg:#fff; --ink:#0a0a0a; --card:#f3f3f3; --line:#e3e3e3; --muted:#6b6b6b; --font-display:"Anton", Impact, "Arial Narrow", sans-serif; --font-body:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --max:1240px; --gutter:16px; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 7vw, 84px); line-height: .95; letter-spacing: .01em; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600; margin: 0 0 1em; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border: 2px solid var(--ink); padding: 12px 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; text-decoration: none; }
.btn:hover { background: #222; }
.btn-outline { background: transparent; color: var(--ink); } .btn-outline:hover { background: var(--card); }
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.logo { font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; line-height: 1; }
.logo span { background: var(--ink); color: #fff; padding: 2px 6px; margin-left: 2px; }
.main-nav { display: none; gap: 22px; }
.main-nav a { text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.main-nav .is-current { border-bottom: 2px solid var(--ink); }
.nav-toggle { background: none; border: 1px solid var(--ink); padding: 6px 10px; font: inherit; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
body.nav-open .main-nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 60px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; gap: 4px; }
@media (min-width: 900px) { .header-row { height: 68px; } .main-nav { display: flex; } .nav-toggle { display: none; } }
.hero { background: var(--ink); color: #fff; padding: 56px 0 48px; }
.hero p { color: #d6d6d6; max-width: 60ch; font-size: 17px; }
.section { padding: 40px 0; }
.post-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: block; text-decoration: none; }
.post-card .thumb { aspect-ratio: 16/10; background: var(--card); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.post-card:hover .thumb img { transform: scale(1.03); }
.post-card .cat { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin: 12px 0 4px; display: block; }
.post-card h2 { font-size: 20px; }
.post-card p { margin: 0; color: #333; font-size: 14px; }
.post-card time { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.article-head { padding: 48px 0 24px; }
.article-head h1 { font-size: clamp(30px, 5vw, 52px); max-width: 24ch; }
.article-meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 14px; }
.article-hero { margin: 0 0 32px; aspect-ratio: 16/9; background: var(--card); overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 17px; }
.prose > * { max-width: 100%; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose h2 { font-size: 26px; margin-top: 1.6em; text-transform: uppercase; letter-spacing: .02em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose img { margin: 1.5em 0; }
.prose blockquote { border-left: 3px solid var(--ink); margin: 1.5em 0; padding: 4px 0 4px 18px; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; } .prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.prose figure { margin: 1.5em 0; } .prose figcaption { color: var(--muted); font-size: 13px; }
.prose a { text-decoration: underline; }
.wp-block-image img, .wp-block-embed { max-width: 100%; }
.shop-cta { background: var(--ink); color: #fff; padding: 28px; margin: 40px 0; display: grid; gap: 14px; }
.shop-cta h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 32px; margin: 0; }
.shop-cta .row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; } .btn-light:hover { background: #e9e9e9; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.pager a, .pager .current, .pager .dots { padding: 8px 14px; border: 1px solid var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.pager .current { background: var(--ink); color: #fff; }
.tags a { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; border: 1px solid var(--ink); padding: 4px 8px; margin: 0 6px 6px 0; text-decoration: none; }
.site-footer { background: var(--ink); color: #cfcfcf; padding: 48px 0 24px; margin-top: 48px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid a { display: block; color: #cfcfcf; text-decoration: none; padding: 3px 0; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.logo-footer { color: #fff; margin-bottom: 10px; } .logo-footer span { background: #fff; color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; color: #8a8a8a; border-top: 1px solid #2a2a2a; margin-top: 32px; padding-top: 16px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.search-form { display: flex; gap: 8px; margin: 20px 0; } .search-form input { flex: 1; padding: 10px 12px; border: 1px solid #bdbdbd; font: inherit; }
.empty { padding: 40px 0; }
.comment-list { list-style: none; padding: 0; } .comment-list li { border-top: 1px solid var(--line); padding: 14px 0; }
.alignwide, .alignfull { max-width: 100%; }
