/*
Theme Name: PicEdit
Theme URI: https://picedit.site/
Author: Zain Ali Jutt
Author URI: https://picedit.site/
Description: A fast, free photo-tools theme for PicEdit. The homepage is a complete in-browser toolkit: AI background remover (MODNet portrait matting with a MediaPipe fallback) and a photo compressor. Photos never leave the visitor's device — no sign-up, no watermark, no uploads. Includes About, Privacy Policy, Terms of Use and Contact pages, plus Customizer settings for Google Analytics and Search Console verification so the site is ready for Site Kit and ad-network monetization.
Version: 1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: picedit
Tags: tools, photo, minimal, green, responsive, custom-menu
*/

/* ---------- WordPress menu markup (wp_nav_menu outputs <ul><li>) ---------- */
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li { margin: 0; }
.main-nav ul ul { display: none; }

.footer-nav { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li { margin: 0; }
.footer-nav a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.footer-nav a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Blog / page loop (used by index.php and page.php) ---------- */
.post-list { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; text-align: left; }
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.post-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--brand); }
.post-card .post-meta { color: var(--ink-2); font-size: 0.85rem; margin-bottom: 8px; }
.post-card p { color: var(--ink-2); margin: 0; }
.page-body { max-width: 760px; margin: 0 auto; text-align: left; }
.page-body p { color: var(--ink-2); }
.page-body a { color: var(--brand); font-weight: 600; }
.nav-links { display: flex; justify-content: space-between; gap: 12px; max-width: 760px; margin: 26px auto 0; }
.nav-links a { color: var(--brand); font-weight: 700; text-decoration: none; }
