/*
Theme Name: Two Second Solutions
Theme URI: https://twosecondsolutions.com
Author: Two Second Solutions
Author URI: https://twosecondsolutions.com
Description: Custom theme for Two Second Solutions — tech explainers with personality. Optimized for SEO, Elementor-compatible, and designed for content-first tech guides.
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: flavor-2ss
*/

/* ═══════════════════════════════════════════════════
   CSS RESET & VARIABLES
   ═══════════════════════════════════════════════════ */

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

:root {
  --bg-main: #FAF7F2;
  --bg-warm: #F0EBE3;
  --bg-dark: #1C1917;
  --bg-card: #FFFFFF;
  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #A8A29E;
  --accent: #E86C3A;
  --accent-hover: #D4582A;
  --accent-light: #FFF1EB;
  --teal: #0D9488;
  --teal-light: #ECFDF5;
  --purple: #7C3AED;
  --purple-light: #F3E8FF;
  --yellow-light: #FEF3C7;
  --border: #E7E5E4;
  --shadow-sm: 0 1px 3px rgba(28,25,23,0.06);
  --shadow-md: 0 4px 16px rgba(28,25,23,0.08);
  --shadow-lg: 0 8px 32px rgba(28,25,23,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1140px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
}


/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--bg-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* WordPress nav menu */
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-menu li { position: relative; }

.nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 0;
}

.nav-menu a:hover { color: var(--text-primary); }

.nav-menu .menu-item-cta a {
  background: var(--accent);
  color: white !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-menu .menu-item-cta a:hover {
  background: var(--accent-hover);
}

/* Sub-menus */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  list-style: none;
  z-index: 100;
}

.nav-menu li:hover > .sub-menu { display: block; }

.nav-menu .sub-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.nav-menu .sub-menu a:hover { background: var(--bg-warm); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: 0.3s;
}


/* ═══════════════════════════════════════════════════
   HERO SECTION (front-page only)
   ═══════════════════════════════════════════════════ */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 .accent { color: var(--accent); }

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-search {
  display: flex;
  gap: 8px;
  max-width: 480px;
}

.hero-search input[type="text"],
.hero-search input[type="search"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 100px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.hero-search input::placeholder { color: var(--text-muted); }
.hero-search input:focus { border-color: var(--accent); }

.hero-search button,
.hero-search input[type="submit"] {
  padding: 14px 24px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.hero-search button:hover,
.hero-search input[type="submit"]:hover { background: var(--accent-hover); }

/* Character card in hero */
.hero-character-card {
  background: var(--bg-warm);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  max-width: 340px;
}

.hero-character-card .speech {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  position: relative;
}

.hero-character-card .speech::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 2rem;
  width: 16px;
  height: 16px;
  background: var(--bg-card);
  transform: rotate(45deg);
  border-radius: 0 0 4px 0;
}

.char-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 0.5rem;
}

.char-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.char-name { font-weight: 700; font-size: 0.9rem; }
.char-role { font-size: 0.8rem; color: var(--text-muted); }


/* ═══════════════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════════════ */

.section-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.see-all {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.see-all:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════
   TOPIC CARDS (browse by topic)
   ═══════════════════════════════════════════════════ */

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s;
  display: block;
}

.topic-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.topic-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 1rem;
}

.topic-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.topic-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.topic-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.75rem;
  display: inline-block;
}


/* ═══════════════════════════════════════════════════
   POST CARDS
   ═══════════════════════════════════════════════════ */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s;
  display: block;
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: var(--text-primary);
}

.post-thumb {
  width: 100%;
  height: 190px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-thumb .thumb-emoji {
  font-size: 4rem;
}

.post-body {
  padding: 1.25rem;
}

.post-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--teal);
  background: var(--teal-light);
}

.post-category-tag.cat-privacy { color: var(--accent); background: var(--accent-light); }
.post-category-tag.cat-wifi { color: var(--purple); background: var(--purple-light); }
.post-category-tag.cat-devices { color: #059669; background: #ECFDF5; }
.post-category-tag.cat-everyday { color: #D97706; background: var(--yellow-light); }

.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.post-body .excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════
   ABOUT STRIP (dark section)
   ═══════════════════════════════════════════════════ */

.about-strip {
  background: var(--bg-dark);
  color: white;
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text .section-label { color: var(--accent); }

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: white;
}

.about-text p {
  color: #A8A29E;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.about-link:hover { text-decoration: underline; color: var(--accent); }

.about-qa {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.qa-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.qa-item:first-child { padding-top: 0; }
.qa-item:last-child { border-bottom: none; padding-bottom: 0; }
.qa-item .q { font-weight: 700; font-size: 0.9rem; color: #E7E5E4; margin-bottom: 0.35rem; }
.qa-item .a { font-size: 0.85rem; color: #A8A29E; line-height: 1.55; }


/* ═══════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════ */

.newsletter {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem;
  text-align: center;
}

.newsletter-box {
  background: linear-gradient(135deg, var(--accent-light) 0%, #FFF7ED 50%, #ECFDF5 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
}

.newsletter-box h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.newsletter-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}

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

.newsletter-form button {
  padding: 14px 28px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: var(--accent-hover); }


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  background: var(--bg-main);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-left .nav-logo-icon {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-menu a:hover { color: var(--text-primary); }


/* ═══════════════════════════════════════════════════
   SINGLE POST / PAGE CONTENT
   ═══════════════════════════════════════════════════ */

.page-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 1.5rem;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-header .post-meta-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.content-area {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem;
}

.content-area h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.content-area h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
}

.content-area p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.content-area ul, .content-area ol {
  margin: 0 0 1.25rem 1.5rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.content-area li { margin-bottom: 0.5rem; }

.content-area img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.content-area blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.content-area pre,
.content-area code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.content-area pre {
  background: var(--bg-dark);
  color: #E7E5E4;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.content-area code {
  background: var(--bg-warm);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}

.content-area pre code {
  background: none;
  padding: 0;
}

/* Elementor full-width page */
.elementor-page .content-area {
  max-width: 100%;
  padding: 0;
}

.page-template-elementor_header_footer .site-nav,
.page-template-elementor_header_footer .site-footer { display: none; }


/* ═══════════════════════════════════════════════════
   BLOG / ARCHIVE LISTING
   ═══════════════════════════════════════════════════ */

.archive-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 1.5rem;
}

.archive-header h1 {
  font-size: 2rem;
  font-weight: 700;
}

.archive-header .archive-desc {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-size: 1rem;
}

.archive-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Pagination */
.pagination {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination a {
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination .current {
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
}


/* ═══════════════════════════════════════════════════
   SEARCH RESULTS
   ═══════════════════════════════════════════════════ */

.search-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 1rem;
}

.search-header h1 { font-size: 1.8rem; font-weight: 700; }

.search-header .search-form-inline {
  margin-top: 1rem;
  display: flex;
  gap: 8px;
  max-width: 500px;
}

.search-header .search-form-inline input[type="search"] {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
}

.search-header .search-form-inline input:focus { border-color: var(--accent); }

.search-header .search-form-inline button {
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 100px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
}

.no-results {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  text-align: center;
  color: var(--text-muted);
}

.no-results p { font-size: 1.1rem; margin-bottom: 1rem; }


/* ═══════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════ */

.error-404 {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.error-404 .error-emoji { font-size: 5rem; margin-bottom: 1.5rem; }
.error-404 h1 { font-size: 2.4rem; margin-bottom: 0.75rem; }

.error-404 p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.error-404 .btn-home {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.error-404 .btn-home:hover { background: var(--accent-hover); color: white; }


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem 2rem;
  }
  .hero-character { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-menu { justify-content: center; }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.active { display: flex; }
  .nav-menu li { padding: 0.6rem 0; }
  .nav-menu .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero-search { flex-direction: column; }
  .topics-grid { gap: 0.75rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-box { padding: 2rem 1.5rem; }
  .page-header h1 { font-size: 1.8rem; }
  .content-area { padding: 1rem 1.25rem 3rem; }
}


/* ═══════════════════════════════════════════════════
   WORDPRESS CORE OVERRIDES
   ═══════════════════════════════════════════════════ */

.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: var(--radius); }

.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); }
.alignwide { max-width: var(--max-width); margin-left: auto; margin-right: auto; }

/* Elementor compatibility */
.elementor-page .site-main { max-width: 100%; padding: 0; }

/* WPForms compatibility */
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form textarea {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
}

.wpforms-container .wpforms-form .wpforms-submit {
  background: var(--accent) !important;
  border-radius: 100px !important;
  padding: 14px 32px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
}

/* Screen reader text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal;
}
