/*
Theme Name: Speak Awesomely
Theme URI: https://speakawesomely.com
Author: Speak Awesomely
Author URI: https://speakawesomely.com
Description: A premium, modern editorial theme for SpeakAwesomely.com — a communication-focused digital brand. Features clean typography, category-based discovery, digital product integration, and SEO-optimized content architecture.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: speak-awesomely
Tags: blog, education, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, theme-options, translation-ready

Speak Awesomely — Understand meanings. Find the right words. Reply better.
*/

/* ============================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ============================================ */

:root {
  /* Primary brand */
  --sa-primary: #0034FF;
  --sa-primary-rgb: 0, 52, 255;
  --sa-primary-light: #e8ecff;
  --sa-primary-hover: #0029cc;

  /* Neutrals */
  --sa-background: #faf8f5;
  --sa-foreground: #1e2a3a;
  --sa-card: #ffffff;
  --sa-border: #e8e4de;
  --sa-muted: #6b7a8d;
  --sa-muted-bg: #ede9e3;
  --sa-secondary-bg: #f5f2ed;

  /* Accent */
  --sa-accent: #2196b3;

  /* Category accents */
  --sa-emoji-yellow: #e6a817;
  --sa-humor-pink: #d94077;
  --sa-texting-green: #2e9e6e;
  --sa-language-indigo: #6655cc;

  /* Typography */
  --sa-font-serif: 'DM Serif Display', Georgia, serif;
  --sa-font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --sa-radius: 0.625rem;
  --sa-radius-lg: 0.75rem;
  --sa-radius-xl: 1rem;

  /* Shadows */
  --sa-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --sa-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --sa-shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sa-font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--sa-foreground);
  background-color: var(--sa-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sa-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sa-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sa-font-serif);
  color: var(--sa-foreground);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.25em;
}

/* ============================================
   LAYOUT
   ============================================ */

.sa-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .sa-container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .sa-container { padding: 0 2rem; }
}

.sa-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .sa-section { padding: 6rem 0; }
}

/* ============================================
   HEADER
   ============================================ */

.sa-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sa-border);
}

.sa-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.sa-logo {
  font-family: var(--sa-font-serif);
  font-size: 1.375rem;
  color: var(--sa-foreground);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sa-logo:hover {
  color: var(--sa-foreground);
}

.sa-logo .logo-accent {
  color: var(--sa-primary);
}

/* Navigation */
.sa-nav {
  display: none;
}

@media (min-width: 1024px) {
  .sa-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.sa-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sa-muted);
  border-radius: var(--sa-radius);
  transition: all 0.2s ease;
}

.sa-nav a:hover,
.sa-nav a.current-menu-item > a,
.sa-nav .current_page_item > a {
  color: var(--sa-foreground);
  background: var(--sa-muted-bg);
}

.sa-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile menu toggle */
.sa-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  cursor: pointer;
  color: var(--sa-foreground);
}

@media (min-width: 1024px) {
  .sa-menu-toggle { display: none; }
}

/* Mobile menu */
.sa-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--sa-card);
  padding: 1.5rem;
  overflow-y: auto;
}

.sa-mobile-menu.is-open {
  display: block;
}

.sa-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.sa-mobile-menu-close {
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sa-foreground);
}

.sa-mobile-nav a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--sa-foreground);
  border-bottom: 1px solid var(--sa-border);
}

.sa-mobile-nav a:hover {
  color: var(--sa-primary);
}

/* ============================================
   BUTTONS
   ============================================ */

.sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--sa-font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--sa-radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.sa-btn-primary {
  background: var(--sa-primary);
  color: #fff;
}

.sa-btn-primary:hover {
  background: var(--sa-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--sa-primary-rgb), 0.3);
}

.sa-btn-outline {
  background: transparent;
  color: var(--sa-foreground);
  border: 1px solid var(--sa-border);
}

.sa-btn-outline:hover {
  background: var(--sa-muted-bg);
  color: var(--sa-foreground);
  border-color: var(--sa-foreground);
}

.sa-btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ============================================
   HERO
   ============================================ */

.sa-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--sa-card) 0%, var(--sa-background) 100%);
  text-align: center;
}

@media (min-width: 768px) {
  .sa-hero { padding: 6rem 0 5rem; }
}

.sa-hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sa-primary);
  margin-bottom: 1rem;
}

.sa-hero h1 {
  max-width: 980px;
  margin: 0 auto 1.5rem;
}

.sa-hero h1 .text-primary {
  color: var(--sa-primary);
}

.sa-hero-subtitle {
  font-size: 1.125rem;
  color: var(--sa-muted);
  max-width: 740px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .sa-hero-subtitle { font-size: 1.25rem; }
}

.sa-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .sa-hero-actions { flex-direction: row; }
}

/* Search bar */
.sa-search-bar {
  position: relative;
  max-width: 660px;
  margin: 2.5rem auto 0;
}

.sa-search-bar input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  font-family: var(--sa-font-sans);
  font-size: 0.9375rem;
  background: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-xl);
  color: var(--sa-foreground);
  box-shadow: var(--sa-shadow-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sa-search-bar input:focus {
  border-color: var(--sa-primary);
  box-shadow: 0 0 0 3px rgba(var(--sa-primary-rgb), 0.15);
}

.sa-search-bar input::placeholder {
  color: var(--sa-muted);
}

.sa-search-bar svg,
.sa-search-bar .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--sa-muted);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.sa-section-header {
  margin-bottom: 2.5rem;
}

.sa-section-header.text-center {
  text-align: center;
}

.sa-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sa-primary);
  margin-bottom: 0.75rem;
}

.sa-section-header p {
  font-size: 1.0625rem;
  color: var(--sa-muted);
  max-width: 740px;
  line-height: 1.7;
}

.sa-section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CARDS — CATEGORY
   ============================================ */

.sa-card {
  background: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-xl);
  padding: 1.75rem;
  box-shadow: var(--sa-shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sa-card:hover {
  box-shadow: var(--sa-shadow-md);
  transform: translateY(-2px);
}

.sa-card a {
  text-decoration: none;
  color: inherit;
}

.sa-category-card .sa-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sa-radius-lg);
  background: var(--sa-primary-light);
  color: var(--sa-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.sa-category-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.sa-category-card p {
  font-size: 0.875rem;
  color: var(--sa-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.sa-category-card .sa-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sa-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Grid layouts */
.sa-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .sa-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sa-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.sa-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .sa-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.sa-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .sa-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sa-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   CARDS — ARTICLE
   ============================================ */

.sa-article-card {
  background: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-xl);
  overflow: hidden;
  box-shadow: var(--sa-shadow-sm);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sa-article-card:hover {
  box-shadow: var(--sa-shadow-md);
}

.sa-article-card.featured {
  grid-column: span 2;
}

@media (max-width: 767px) {
  .sa-article-card.featured { grid-column: span 1; }
}

.sa-article-card-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sa-article-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sa-article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sa-article-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sa-primary);
}

.sa-article-card-category:hover {
  text-decoration: underline;
}

.sa-article-card-time {
  font-size: 0.75rem;
  color: var(--sa-muted);
}

.sa-article-card h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.sa-article-card:hover h3 {
  color: var(--sa-primary);
}

.sa-article-card .sa-excerpt {
  font-size: 0.875rem;
  color: var(--sa-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.sa-article-card .sa-read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sa-primary);
  margin-top: auto;
}

/* ============================================
   PRODUCT SPOTLIGHT
   ============================================ */

.sa-product-spotlight {
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(var(--sa-primary-rgb), 0.04) 0%, rgba(33,150,179,0.04) 100%);
  border: 1px solid var(--sa-border);
  padding: 3rem 2rem;
}

@media (min-width: 1024px) {
  .sa-product-spotlight {
    padding: 4rem;
    display: flex;
    align-items: center;
    gap: 3rem;
  }
}

.sa-product-spotlight-content {
  flex: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .sa-product-spotlight-content { text-align: left; }
}

.sa-product-spotlight-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sa-primary);
  margin-bottom: 0.75rem;
}

.sa-product-spotlight h2 {
  margin-bottom: 1rem;
}

.sa-product-spotlight .sa-desc {
  font-size: 1.0625rem;
  color: var(--sa-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.sa-product-spotlight .sa-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.sa-product-spotlight .sa-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--sa-foreground);
  padding: 0.25rem 0;
}

.sa-product-spotlight .sa-feature-list li::before {
  content: "✓";
  color: var(--sa-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.sa-product-image {
  width: 100%;
  max-width: 320px;
  height: 256px;
  border-radius: var(--sa-radius-xl);
  background: linear-gradient(135deg, rgba(var(--sa-primary-rgb), 0.12) 0%, rgba(33,150,179,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 0;
  font-size: 4rem;
  color: rgba(var(--sa-primary-rgb), 0.3);
}

@media (min-width: 1024px) {
  .sa-product-image { margin: 0; height: 320px; }
}

/* ============================================
   TOOL CARDS
   ============================================ */

.sa-tool-card {
  background: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-xl);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--sa-shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.sa-tool-card:hover {
  box-shadow: var(--sa-shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.sa-tool-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sa-primary-light);
  color: var(--sa-primary);
  border-radius: var(--sa-radius);
  font-size: 1.25rem;
}

.sa-tool-card h3 {
  font-family: var(--sa-font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.sa-tool-card p {
  font-size: 0.8125rem;
  color: var(--sa-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.sa-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--sa-primary-light);
  color: var(--sa-primary);
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ============================================
   TRUST / VALUE CARDS
   ============================================ */

.sa-trust-card {
  text-align: center;
  padding: 1.5rem;
}

.sa-trust-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--sa-primary-light);
  color: var(--sa-primary);
  border-radius: var(--sa-radius-lg);
  font-size: 1.25rem;
}

.sa-trust-card h3 {
  font-family: var(--sa-font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sa-trust-card p {
  font-size: 0.875rem;
  color: var(--sa-muted);
  line-height: 1.6;
}

/* ============================================
   NEWSLETTER / CTA BANNER
   ============================================ */

.sa-newsletter {
  background: var(--sa-foreground);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.sa-newsletter h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.sa-newsletter p {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.sa-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .sa-newsletter-form { flex-direction: row; }
}

.sa-newsletter-form input {
  flex: 1;
  padding: 0.875rem 1rem;
  font-family: var(--sa-font-sans);
  font-size: 0.9375rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--sa-radius);
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

.sa-newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.sa-newsletter-form input:focus {
  border-color: var(--sa-primary);
}

.sa-newsletter-form .sa-btn {
  white-space: nowrap;
}

.sa-newsletter-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.sa-breadcrumb {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--sa-muted);
}

.sa-breadcrumb a {
  color: var(--sa-muted);
}

.sa-breadcrumb a:hover {
  color: var(--sa-primary);
}

.sa-breadcrumb .separator {
  margin: 0 0.5rem;
  color: var(--sa-border);
}

/* ============================================
   ARTICLE / SINGLE POST
   ============================================ */

.sa-article-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 0 2rem;
  text-align: center;
}

.sa-article-header .category-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sa-primary);
  margin-bottom: 1rem;
}

.sa-article-header h1 {
  margin-bottom: 1rem;
}

.sa-article-header .subtitle {
  font-size: 1.125rem;
  color: var(--sa-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sa-article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--sa-muted);
}

.sa-article-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sa-muted);
}

/* Table of Contents */
.sa-toc {
  background: var(--sa-secondary-bg);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-xl);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.sa-toc h4 {
  font-family: var(--sa-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: var(--sa-foreground);
}

.sa-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sa-toc li {
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--sa-border);
}

.sa-toc li:last-child { border-bottom: none; }

.sa-toc a {
  font-size: 0.875rem;
  color: var(--sa-muted);
}

.sa-toc a:hover {
  color: var(--sa-primary);
}

/* Article content */
.sa-content {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.sa-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.sa-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sa-border);
}

.sa-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.sa-content ul,
.sa-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.sa-content li {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.sa-content blockquote {
  border-left: 4px solid var(--sa-primary);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--sa-primary-light);
  border-radius: 0 var(--sa-radius) var(--sa-radius) 0;
  font-size: 1.0625rem;
  color: var(--sa-foreground);
  font-style: italic;
}

.sa-content blockquote p:last-child {
  margin-bottom: 0;
}

.sa-content img {
  border-radius: var(--sa-radius-xl);
  margin: 2rem 0;
}

/* Quick Answer Box */
.sa-quick-answer {
  background: var(--sa-primary-light);
  border: 1px solid rgba(var(--sa-primary-rgb), 0.15);
  border-radius: var(--sa-radius-xl);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.sa-quick-answer h4 {
  font-family: var(--sa-font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sa-primary);
  margin-bottom: 0.5rem;
}

.sa-quick-answer p {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--sa-foreground);
}

/* Callout Box */
.sa-callout {
  background: var(--sa-secondary-bg);
  border-left: 4px solid var(--sa-primary);
  border-radius: 0 var(--sa-radius) var(--sa-radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.sa-callout p:last-child { margin-bottom: 0; }

/* FAQ Accordion */
.sa-faq-item {
  border-bottom: 1px solid var(--sa-border);
}

.sa-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--sa-font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--sa-foreground);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sa-faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--sa-primary);
  transition: transform 0.2s;
}

.sa-faq-item.is-open .sa-faq-question::after {
  content: "−";
}

.sa-faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--sa-muted);
  line-height: 1.7;
}

.sa-faq-item.is-open .sa-faq-answer {
  display: block;
}

/* ============================================
   CATEGORY PAGE
   ============================================ */

.sa-category-hero {
  padding: 1rem 0 3rem;
}

.sa-category-hero h1 {
  margin-bottom: 1rem;
}

.sa-category-hero p {
  font-size: 1.125rem;
  color: var(--sa-muted);
  max-width: 740px;
  line-height: 1.7;
}

/* ============================================
   SHOP / PRODUCT
   ============================================ */

.sa-product-card {
  background: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-xl);
  overflow: hidden;
  box-shadow: var(--sa-shadow-sm);
  transition: box-shadow 0.3s;
}

.sa-product-card:hover {
  box-shadow: var(--sa-shadow-md);
}

.sa-product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.sa-product-card-body {
  padding: 1.5rem;
}

.sa-product-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.sa-product-card .sa-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sa-primary);
}

.sa-product-card .sa-price del {
  font-weight: 400;
  color: var(--sa-muted);
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.sa-about-hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.sa-about-hero h1 {
  max-width: 700px;
  margin: 0 auto 1rem;
}

.sa-about-hero p {
  font-size: 1.125rem;
  color: var(--sa-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.sa-about-content {
  max-width: 960px;
  margin: 0 auto;
}

.sa-about-content h2 {
  margin-top: 2.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.sa-footer {
  background: var(--sa-foreground);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.sa-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .sa-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sa-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.sa-footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.sa-footer h4 {
  font-family: var(--sa-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.sa-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sa-footer-links li {
  margin-bottom: 0.5rem;
}

.sa-footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.sa-footer-links a:hover {
  color: #fff;
}

.sa-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

@media (min-width: 640px) {
  .sa-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================
   BACKGROUND SECTIONS
   ============================================ */

.sa-bg-secondary {
  background: var(--sa-secondary-bg);
}

.sa-bg-white {
  background: var(--sa-card);
}

/* ============================================
   PAGINATION / LOAD MORE
   ============================================ */

.sa-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 0;
}

.sa-pagination a,
.sa-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--sa-radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--sa-border);
  color: var(--sa-foreground);
  transition: all 0.2s;
}

.sa-pagination a:hover {
  background: var(--sa-primary-light);
  border-color: var(--sa-primary);
  color: var(--sa-primary);
}

.sa-pagination .current {
  background: var(--sa-primary);
  color: #fff;
  border-color: var(--sa-primary);
}

/* ============================================
   SIDEBAR (OPTIONAL)
   ============================================ */

.sa-sidebar .widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-xl);
}

.sa-sidebar .widget-title {
  font-family: var(--sa-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */

.woocommerce .products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.woocommerce .product {
  background: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-xl);
  overflow: hidden;
  box-shadow: var(--sa-shadow-sm);
  transition: box-shadow 0.3s;
}

.woocommerce .product:hover {
  box-shadow: var(--sa-shadow-md);
}

.woocommerce .product img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.woocommerce .product .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sa-primary);
}

.woocommerce .button,
.woocommerce .added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  background: var(--sa-primary);
  color: #fff;
  border-radius: var(--sa-radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.woocommerce .button:hover {
  background: var(--sa-primary-hover);
  color: #fff;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sa-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus-visible {
  outline: 2px solid var(--sa-primary);
  outline-offset: 2px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================
   WORDPRESS CORE CLASSES
   ============================================ */

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

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

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.wp-caption-text {
  font-size: 0.8125rem;
  color: var(--sa-muted);
  padding-top: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.sticky .sa-article-card {
  border-left: 4px solid var(--sa-primary);
}

/* Post formats */
.wp-block-quote {
  border-left: 4px solid var(--sa-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--sa-primary-light);
  border-radius: 0 var(--sa-radius) var(--sa-radius) 0;
}

.wp-block-code {
  background: var(--sa-secondary-bg);
  padding: 1.25rem;
  border-radius: var(--sa-radius);
  font-size: 0.875rem;
  overflow-x: auto;
}

/* ============================================
   PAGE-SPECIFIC STYLES (v2.0)
   About, Contact, Emoji Finder, Store, Legal
   ============================================ */

/* ── Prose / rich content ── */
.sa-prose {
  color: var(--sa-foreground);
  line-height: 1.85;
  font-size: 1.05rem;
}
.sa-prose h2 {
  font-family: var(--sa-font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--sa-foreground);
  margin: 2.5rem 0 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--sa-primary-light);
}
.sa-prose h3 {
  font-size: 1.15rem;
  color: var(--sa-foreground);
  margin: 1.75rem 0 .6rem;
}
.sa-prose p { margin-bottom: 1.2rem; }
.sa-prose ul,
.sa-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.sa-prose li { margin-bottom: .5rem; }
.sa-prose a {
  color: var(--sa-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sa-prose a:hover { color: var(--sa-primary-hover); }
.sa-prose strong { font-weight: 700; }
.sa-prose em { font-style: italic; }

/* ── Two-column layout used on About page ── */
.sa-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}
@media (max-width: 640px) {
  .sa-two-col { grid-template-columns: 1fr; gap: 1rem; }
}
.sa-col {
  background: var(--sa-primary-light);
  border-radius: var(--sa-radius);
  padding: 1.5rem;
}
.sa-col h3 {
  margin-top: 0 !important;
  color: var(--sa-primary);
}

/* ── Page intro block ── */
.sa-page-intro {
  font-size: 1.15rem;
  color: var(--sa-muted);
  border-left: 4px solid var(--sa-primary);
  padding: 1.25rem 1.5rem;
  background: var(--sa-primary-light);
  border-radius: 0 var(--sa-radius) var(--sa-radius) 0;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.sa-page-intro p { margin-bottom: .5rem; }
.sa-page-intro p:last-child { margin-bottom: 0; }

/* ── Legal page ── */
.sa-legal-content h2 {
  font-size: 1.2rem;
  font-family: var(--sa-font-sans);
  font-weight: 700;
  margin: 2rem 0 .75rem;
  color: var(--sa-foreground);
  border-bottom: 1px solid var(--sa-border, #e5e7eb);
  padding-bottom: .4rem;
}
.sa-legal-content h2:first-child { margin-top: 0; }

/* ── Contact CTA block ── */
.sa-contact-cta {
  background: var(--sa-primary);
  color: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
}
.sa-contact-cta h2 { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: .5rem; }
.sa-contact-cta a { color: rgba(255,255,255,.9); }
.sa-contact-cta p { color: rgba(255,255,255,.85); }

/* ── Emoji finder tool ── */
.sa-emoji-finder-wrap input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--sa-foreground);
  outline: none;
  font-family: var(--sa-font-sans);
}
#emoji-tool-results {
  border-radius: 12px;
  padding: 1.5rem;
}

/* ── Store page ── */
.sa-store-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.sa-store-filter-btn {
  padding: .4rem 1rem;
  border-radius: 50px;
  border: 2px solid var(--sa-primary);
  background: transparent;
  color: var(--sa-primary);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.sa-store-filter-btn:hover,
.sa-store-filter-btn.active {
  background: var(--sa-primary);
  color: #fff;
}

/* ── About social bar ── */
.sa-about-social .sa-btn-outline {
  min-width: 130px;
  justify-content: center;
}

/* ── Elementor — ensure full-width sections work ── */
.elementor-section.elementor-section-full_width {
  max-width: 100% !important;
}
.elementor-inner > .elementor-section-wrap > .elementor-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ============================================
   HEADER v2 — matches speakawesomely.com
   ============================================ */

.sa-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sa-border);
  box-shadow: 0 1px 12px rgba(0,0,0,.04);
}

.sa-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

/* ── Logo ── */
.sa-logo {
  font-family: var(--sa-font-serif);
  font-size: 1.3rem;
  color: var(--sa-foreground);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.sa-logo .logo-accent { color: var(--sa-primary); }
.sa-logo img {
  height: 44px;
  width: auto;
}

/* ── Desktop nav ── */
.sa-nav {
  display: none;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

@media (min-width: 1100px) {
  .sa-nav { display: flex; }
}

.sa-nav a,
.sa-nav .menu-item > a {
  display: inline-flex;
  align-items: center;
  padding: .45rem .65rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--sa-foreground);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: color .15s, background .15s;
  position: relative;
}

.sa-nav a:hover,
.sa-nav .menu-item > a:hover {
  color: var(--sa-primary);
  background: var(--sa-primary-light);
}

.sa-nav a.current-menu-item,
.sa-nav .current-menu-item > a {
  color: var(--sa-primary);
  font-weight: 600;
}

/* ── Header right actions ── */
.sa-header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.sa-header-tool-btn {
  display: none;
  font-size: .8rem;
  padding: .4rem .85rem !important;
}
.sa-header-store-btn {
  display: none;
  font-size: .8rem;
  padding: .4rem .85rem !important;
}

@media (min-width: 768px) {
  .sa-header-tool-btn { display: inline-flex; }
}
@media (min-width: 900px) {
  .sa-header-store-btn { display: inline-flex; }
}

/* ── Burger button ── */
.sa-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--sa-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: background .15s, border-color .15s;
}
.sa-menu-toggle:hover {
  background: var(--sa-primary-light);
  border-color: var(--sa-primary);
}

@media (min-width: 1100px) {
  .sa-menu-toggle { display: none; }
}

.sa-burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sa-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--sa-foreground);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ── Mobile menu panel ── */
.sa-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100vh;
  background: var(--sa-background);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.12);
}

.sa-mobile-menu.is-open {
  transform: translateX(0);
}

.sa-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 290;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.sa-mobile-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

.sa-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--sa-border);
  flex-shrink: 0;
}

.sa-mobile-menu-close {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--sa-border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.sa-mobile-menu-close:hover { background: var(--sa-primary-light); }

.sa-mobile-nav {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.sa-mobile-nav a,
.sa-mobile-nav .menu-item > a {
  display: block;
  padding: .75rem 1rem;
  color: var(--sa-foreground);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.sa-mobile-nav a:hover,
.sa-mobile-nav .menu-item > a:hover {
  background: var(--sa-primary-light);
  color: var(--sa-primary);
}

.sa-mobile-nav-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sa-border);
}

/* ============================================
   HOMEPAGE — wider sections, breathing room
   ============================================ */

/* Trust bar strip */
.sa-trust-bar { overflow: hidden; }

/* Make front page sections less tall on mobile */
@media (max-width: 767px) {
  .sa-section { padding: 3rem 0; }
}

/* ============================================
   SINGLE / PAGE — wider content body
   ============================================ */

/* Increase blog post + page reading width */
.sa-content,
.sa-article-header,
.sa-toc {
  max-width: 960px;
}

/* Give single posts a bit more padding at wide viewports */
@media (min-width: 1024px) {
  .sa-content { padding-left: 0; padding-right: 0; }
}

/* ── Wider page sections (About, Contact, Legal) ── */
.sa-prose { max-width: 960px; margin-left: auto; margin-right: auto; }


/* ── Footer social links ── */
.sa-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}
.sa-footer-social a {
  font-size: .82rem;
  color: var(--sa-muted);
  text-decoration: none;
  padding: .3rem .7rem;
  border: 1px solid var(--sa-border);
  border-radius: 50px;
  transition: color .15s, border-color .15s, background .15s;
}
.sa-footer-social a:hover {
  color: var(--sa-primary);
  border-color: var(--sa-primary);
  background: var(--sa-primary-light);
}

/* ============================================
   SINGLE POST — fixed layout (v2.1)
   Removes all hardcoded 768px inline widths.
   ============================================ */

.sa-single-post .sa-container {
  max-width: 1280px;
}

/* Article header, thumbnail, content, tags, related
   all share the same readable max-width and auto margins */
.sa-article-header,
.sa-single-thumbnail,
.sa-content,
.sa-single-tags,
.sa-single-related {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Thumbnail spacing */
.sa-single-thumbnail {
  margin-bottom: 2rem;
}
.sa-single-thumbnail img {
  width: 100%;
  display: block;
  border-radius: var(--sa-radius-xl);
}

/* Tags row */
.sa-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
  padding-top: .5rem;
}

/* Related posts section */
.sa-single-related {
  padding-top: 3rem;
  border-top: 1px solid var(--sa-border);
  margin-bottom: 2rem;
}

/* ── Emoji Finder Tool — theme-matched, no white box ── */
.sa-emoji-finder-wrap {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 3rem;
}

/* Search bar matches site style */
.sa-emoji-finder-wrap .sa-search-bar {
  background: var(--sa-card, #fff);
  border: 1.5px solid var(--sa-border);
  border-radius: var(--sa-radius-xl);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.sa-emoji-finder-wrap .sa-search-bar input {
  color: var(--sa-foreground);
  background: transparent;
}
.sa-emoji-finder-wrap .sa-search-bar input::placeholder {
  color: var(--sa-muted, #6b7280);
}

/* Results area — transparent, themed text */
#emoji-tool-results {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sa-muted, #6b7280);
  font-size: 1rem;
  text-align: center;
  background: transparent;
  border-radius: 0;
  padding: 1.5rem 0;
}

.sa-emoji-placeholder {
  color: var(--sa-muted, #6b7280);
}
.sa-emoji-placeholder p {
  margin: 0;
  font-size: .95rem;
}