/*
Theme Name: Supermeme.ai Clone
Description: Complete Supermeme.ai clone website with pixel-perfect design replication, SEO optimization, and AdSense integration
Version: 1.0
Author: MiniMax AI Agent
Tags: ai, memes, generator, marketing, seo, adsense
*/

/* Import the compiled Tailwind CSS from the build */
@import url('../dist/assets/index-B4DK_wST.css');

/* WordPress specific styles */
.wp-block-group {
  margin: 0;
  padding: 0;
}

.alignwide {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* WordPress admin bar compatibility */
.admin-bar .sticky-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .sticky-header {
    top: 46px;
  }
}

/* Custom post type styles */
.meme-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.meme-template-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.meme-template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

/* SEO optimized content structure */
.seo-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.seo-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.seo-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* AdSense responsive containers */
.adsense-responsive {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .adsense-desktop {
    display: none;
  }
}

@media (min-width: 769px) {
  .adsense-mobile {
    display: none;
  }
}

/* Performance optimizations */
.lazy-load {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy-load.loaded {
  opacity: 1;
}

/* Accessibility improvements */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #5D33FF;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-only {
    display: block !important;
  }
}
