/*
Theme Name: SapuSEO Blog
Theme URI: https://sapuseo.com
Author: SapuSEO
Author URI: https://sapuseo.com
Description: A lightweight WordPress blog theme that matches the SapuSEO marketing site design. Uses Tailwind CSS, Inter font, and the SapuSEO brand color palette.
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: sapuseo
Tags: blog, seo, tailwind, minimal, clean
*/

/* ===== Custom CSS (complements Tailwind CDN) ===== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #ffffff 100%);
}

/* Mockup shadow */
.mockup-shadow {
  box-shadow: 0 25px 60px -15px rgba(79, 70, 229, 0.25);
}

/* FAQ accordion */
.faq-answer {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Blog post content typography */
.entry-content p {
  color: #475569;
  line-height: 1.75;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.entry-content h2 {
  color: #0f172a;
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.entry-content h3 {
  color: #0f172a;
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.entry-content a {
  color: #4f46e5;
  text-decoration: underline;
}

.entry-content a:hover {
  color: #4338ca;
}

.entry-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content ul li {
  color: #475569;
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.entry-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content ol li {
  color: #475569;
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.entry-content code {
  background: #f8fafc;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #4338ca;
  font-family: 'Courier New', monospace;
}

.entry-content pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  overflow-x: auto;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.entry-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.entry-content blockquote {
  border-left: 4px solid #c7d2fe;
  padding-left: 1.5rem;
  font-style: italic;
  color: #475569;
  margin-bottom: 1.5rem;
}

.entry-content img {
  border-radius: 1rem;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.entry-content figure {
  margin-bottom: 1.5rem;
}

.entry-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

/* Line clamp for excerpts */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* WordPress core classes */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.sticky {
  /* WordPress sticky post — no special styling needed */
}

.bypostauthor {
  /* WordPress post author comment — no special styling needed */
}
