/*
Theme Name: GEO & SEO Minimalist Blog
Theme URI: https://github.com/overseas-ecommerce/wp-geo-seo-blog
Author: AI DeepMind Architecture Team
Description: A modern WordPress theme tailored for GEO and SEO, featuring a high-end luxury editorial magazine style with minimalist spacing, refined glassmorphism, and elegant accenting.
Version: 3.1.0
Text Domain: geo-seo-blog
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Playfair Display', Georgia, Cambria, serif;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Modern High-End Palette */
  --bg-primary: #FFFDF5; /* Soft pale yellow for a warm, premium feel */
  --bg-surface: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --text-primary: #1A1A1A; /* Charcoal, softer than pitch black */
  --text-secondary: #4B5563; /* Slate gray */
  --text-muted: #9CA3AF;
  
  /* Champagne Gold Accent */
  --accent-color: #D4AF37;
  --accent-hover: #B5952F;
  --accent-light: #FDF9EC;
  
  /* Borders - very subtle */
  --border-color: #F3F4F6;
  --border-dark: #E5E7EB;
  
  /* Delicate Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.06);
  --shadow-accent: 0 10px 20px -10px rgba(212, 175, 55, 0.2);
  
  /* Softer Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Removed heavy SVG patterns for a cleaner background */
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Subtle Line Dividers instead of heavy flourishes */
.svg-flourish-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
  opacity: 0.6;
}

.svg-flourish-divider::before,
.svg-flourish-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dark), transparent);
}

.svg-icon-spin {
  display: inline-block;
  vertical-align: middle;
  color: var(--accent-color);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* Modern Floating Header (Glassmorphism) */
.site-header {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-top-bar {
  display: none; /* Removed for a cleaner, modern look */
}

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

.site-logo a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding-left: 12px;
  position: relative;
}

.logo-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-color);
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.site-nav a {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

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

.site-nav a:hover::after {
  width: 100%;
}

.ai-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.ai-status-pill:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Minimalist Hero Banner */
.hero-banner {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  margin: 60px 0;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
  /* Added a very subtle gradient mesh background */
  background-image: radial-gradient(at 0% 0%, hsla(43,68%,85%,0.15) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, hsla(210,20%,90%,0.1) 0px, transparent 50%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* Main Layout Grid */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  margin-bottom: 120px;
}

@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Elegant Article Cards */
.post-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 48px;
  margin-bottom: 40px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.post-card-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.post-card-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.post-card-excerpt {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 300;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Single Article Styling */
.entry-header {
  margin-bottom: 64px;
  text-align: center;
}

.entry-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 24px 0 32px 0;
  color: var(--text-primary);
}

.entry-meta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Refined TL;DR Box */
.geo-tldr-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 40px;
  margin: 48px 0;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-color);
}

.geo-tldr-header {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.geo-tldr-content {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* Modern Table of Contents */
.geo-toc-container {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  margin: 48px 0;
  border: 1px solid var(--border-color);
}

.geo-toc-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.geo-toc-list {
  list-style: none;
}

.geo-toc-list li {
  margin-bottom: 12px;
}

.geo-toc-list a {
  font-size: 1.05rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  display: inline-block;
}

.geo-toc-list a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

/* Impeccable Article Typography */
.entry-content {
  font-size: 1.2rem;
  color: var(--text-primary);
  line-height: 1.9;
  font-weight: 300;
}

.entry-content p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  float: left;
  line-height: 0.8;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 4px;
  color: var(--text-primary);
  font-weight: 700;
}

.entry-content p {
  margin-bottom: 2rem;
}

.entry-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 3.5rem 0 1.5rem 0;
  color: var(--text-primary);
}

.entry-content h3 {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem 0;
}

/* Contributor / E-E-A-T Card - Modernized */
.eeat-author-card {
  display: flex;
  gap: 32px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-top: 80px;
  align-items: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.eeat-avatar img {
  border-radius: 50%;
  width: 90px;
  height: 90px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.eeat-info .author-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eeat-badge {
  font-family: var(--font-main);
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-hover);
  font-size: 0.7rem;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eeat-job {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 8px 0 12px 0;
}

/* Minimalist FAQ */
.geo-faq-section {
  margin-top: 80px;
  padding-top: 48px;
}

.geo-faq-section h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 32px;
}

.geo-faq-item {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

.geo-faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.geo-faq-question {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.geo-faq-answer {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
}

/* Sophisticated Sidebar */
.widget-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.widget-title {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer Refined */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  padding: 80px 0;
  margin-top: 120px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}
