/*
Theme Name: Photowonk
Theme URI: https://example.com/photowonk
Author: Your Name
Author URI: https://example.com
Description: Child theme of Twenty Twenty-Four for the Photowonk photo gallery SPA. Minimal header, no default menu or site title, optimized for Vue SPA.
Template: twentytwentyfour
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: photowonk
Tags: photogallery, vue, minimal, child-theme
*/

/* Hide parent theme header and menu for SPA */

/* Hide parent theme header and menu for SPA */
header:not(.site-header), .wp-block-site-title, .wp-block-navigation, .entry-title, .page-title {
  display: none !important;
}

  margin: 0;
  padding: 0;
  background: #f4f6fa;
  color: #222;
  font-family: system-ui, Arial, Helvetica, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

#photowonk-app {
  min-height: 100vh;
  width: 100%;
  background: transparent;
  color: inherit;
  box-sizing: border-box;
}

/* Fallback for when Vue app fails to load */
#photowonk-app:empty::before {
  content: 'Loading photowonk gallery...';
  display: block;
  text-align: center;
  margin-top: 20vh;
  color: #888;
  font-size: 1.5rem;
}

/* Make images look like a photo grid */
.photowonk-root, .photowonk-masonry {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2rem 1rem;
  margin: 2rem auto;
  max-width: 1400px;
}

/* Remove extra spacing from WP blocks */
.is-layout-constrained, .wp-block-group {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100vw !important;
}
