/*
Theme Name: PodBulk
Theme URI: https://podbulk.com
Author: Scanfastly LLC
Author URI: https://podbulk.com
Description: Custom WordPress theme for PodBulk — a browser-based bulk PSD mockup generator. White background, accent green #1FD877, black for depth. Fonts: Space Grotesk + JetBrains Mono. Static pages reproduce the PodBulk marketing site 1:1, with native WordPress posts for the blog and Rank Math for SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: podbulk
*/

/* ============================================================
   This file holds ONLY WordPress-specific glue. The full design
   system lives in assets/css/podbulk.css (the compiled Astro
   stylesheet, copied 1:1). Both are enqueued in functions.php,
   with podbulk.css first and this file last so these rules win.
   ============================================================ */

/* ---- Primary nav rendered by wp_nav_menu (<ul><li>) made pixel-identical
        to the original flat <a> row. .nav a styling comes from podbulk.css. ---- */
.nav .nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav .nav-list li { margin: 0; }
.nav .nav-list .current-menu-item > a,
.nav .nav-list .current_page_item > a,
.nav .nav-list a.active { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
}

/* ---- WordPress core / editor classes so post content always looks right ---- */
.post-body img,
.prose-wrap img { height: auto; border-radius: 12px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.sticky, .gallery-caption, .bypostauthor { /* required by Theme Check */ }

/* ---- Blog listing: featured image inside the card thumb ---- */
.post-card .thumb { position: relative; }
.post-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb .cat { position: relative; z-index: 1; }

/* ---- WP pagination on archives ---- */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 40px auto 0; flex-wrap: wrap; }
.pagination .page-numbers {
  font-family: var(--mono); font-size: 13px; color: var(--muted); text-decoration: none;
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; transition: border-color .15s ease, color .15s ease;
}
.pagination .page-numbers:hover { border-color: var(--green); color: var(--green-2); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
