/*
Theme Name: GPM Marketplace
Theme URI: https://example.com/
Author: GPM Marketplace
Description: Accessible, responsive WordPress theme for the GPM Guest Post Marketplace.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: gpm-marketplace
Tags: accessibility-ready, responsive-layout, custom-background, custom-logo, custom-menu, featured-images, threaded-comments
*/
:root{--gpm-primary:#fcb900;--gpm-text:#151515;--gpm-bg:#fff;--gpm-surface:#f7f7f8;--gpm-border:#ddd;--gpm-muted:#666;--gpm-radius:14px;--gpm-container:1180px;--gpm-space:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--gpm-bg);color:var(--gpm-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6}a{color:#111;text-decoration-thickness:2px;text-underline-offset:2px}a:hover{opacity:.86}.gpm-container{width:min(100% - 32px,var(--gpm-container));margin-inline:auto}.gpm-site-header{border-bottom:1px solid var(--gpm-border);background:var(--gpm-bg);position:relative;z-index:20}.gpm-header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.gpm-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;font-size:1.2rem}.gpm-brand img{max-height:48px;width:auto}.gpm-nav{display:flex;align-items:center;gap:18px}.gpm-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:18px;align-items:center}.gpm-nav a{font-weight:600}.gpm-menu-toggle{display:none;border:1px solid var(--gpm-border);background:var(--gpm-bg);padding:10px 12px;border-radius:10px;cursor:pointer}.gpm-cta,.gpm-button,button,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #111;background:var(--gpm-primary);color:#111;padding:11px 16px;border-radius:10px;font-weight:750;cursor:pointer;text-decoration:none}.gpm-button.secondary{background:var(--gpm-bg)}.gpm-button.danger{background:#b42318;color:#fff;border-color:#8f1b12}.gpm-main{min-height:65vh}.gpm-hero{padding:70px 0 48px;background:linear-gradient(180deg,#fff8df 0,#fff 100%)}.gpm-hero h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.1;margin:0 0 16px}.gpm-hero p{max-width:760px;color:var(--gpm-muted);font-size:1.08rem}.gpm-section{padding:42px 0}.gpm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gpm-card{background:var(--gpm-surface);border:1px solid var(--gpm-border);border-radius:var(--gpm-radius);padding:20px}.gpm-card h2,.gpm-card h3{margin-top:0}.gpm-meta{color:var(--gpm-muted);font-size:.94rem}.gpm-search{display:grid;grid-template-columns:1fr auto;gap:10px;margin:24px 0}.gpm-search input[type=search]{min-width:0}.gpm-form{max-width:720px}.gpm-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.gpm-field{margin-bottom:16px}.gpm-field label{display:block;font-weight:700;margin-bottom:6px}.gpm-field input,.gpm-field textarea,.gpm-field select,input[type=search],input[type=text],input[type=email],input[type=password],input[type=url],input[type=number]{width:100%;padding:11px 12px;border:1px solid #aaa;border-radius:9px;background:#fff;color:#111;font:inherit}.gpm-field textarea{min-height:130px;resize:vertical}.gpm-help{font-size:.9rem;color:var(--gpm-muted)}.gpm-notice{padding:14px 16px;border:1px solid var(--gpm-border);border-left:4px solid var(--gpm-primary);border-radius:8px;background:#fff}.gpm-error{border-left-color:#b42318}.gpm-success{border-left-color:#16803c}.gpm-table-wrap{overflow-x:auto}.gpm-table{width:100%;border-collapse:collapse;min-width:680px}.gpm-table th,.gpm-table td{border:1px solid var(--gpm-border);padding:10px;text-align:left;vertical-align:top}.gpm-table th{background:#fff3bf}.gpm-dashboard{padding:36px 0}.gpm-dashboard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}.gpm-dashboard-nav{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.gpm-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.gpm-stat{border:1px solid var(--gpm-border);border-radius:12px;padding:18px;background:var(--gpm-bg)}.gpm-stat strong{display:block;font-size:1.7rem}.gpm-login-wrap{max-width:520px;margin:50px auto}.gpm-google{width:100%;background:#fff;border-color:#aaa}.gpm-skip-link{position:absolute;left:10px;top:-50px;background:#111;color:#fff;padding:10px;z-index:999}.gpm-skip-link:focus{top:10px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.gpm-site-footer{margin-top:50px;border-top:1px solid var(--gpm-border);padding:30px 0;background:var(--gpm-surface)}.gpm-footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.gpm-cookie-free-note{font-size:.9rem;color:var(--gpm-muted)}
body.gpm-dark{--gpm-bg:#111;--gpm-surface:#1b1b1b;--gpm-text:#f5f5f5;--gpm-border:#444;--gpm-muted:#c5c5c5}body.gpm-dark input,body.gpm-dark textarea,body.gpm-dark select{background:#171717;color:#fff;border-color:#666}body.gpm-dark .gpm-hero{background:linear-gradient(180deg,#2a250e 0,#111 100%)}body.gpm-dark .gpm-button.secondary,body.gpm-dark .gpm-google{background:#171717;color:#fff}
body.gpm-reduced-motion *,body.gpm-reduced-motion *::before,body.gpm-reduced-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
@media(max-width:900px){.gpm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gpm-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.gpm-container{width:min(100% - 24px,var(--gpm-container))}.gpm-header-inner{min-height:64px}.gpm-menu-toggle{display:inline-flex}.gpm-nav{display:none;position:absolute;left:12px;right:12px;top:64px;background:var(--gpm-bg);border:1px solid var(--gpm-border);border-radius:12px;padding:14px;box-shadow:0 12px 30px rgba(0,0,0,.12)}.gpm-nav.is-open{display:block}.gpm-nav ul{display:block}.gpm-nav li{padding:9px 0}.gpm-nav .gpm-cta{width:100%;margin-top:8px}.gpm-grid,.gpm-stat-grid,.gpm-form-row{grid-template-columns:1fr}.gpm-search{grid-template-columns:1fr}.gpm-hero{padding:48px 0 32px}.gpm-section{padding:32px 0}.gpm-card{padding:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gpm-reduced-motion *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}
:focus-visible{outline:3px solid #005fcc;outline-offset:3px}
