/* Home Haven for Less - Main Stylesheet */

/* CSS Variables */
:root {
  --primary-color: #2D5A27;
  --secondary-color: #8FBC8F;
  --accent-color: #F5F5DC;
  --text-dark: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e9ecef;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

/* Simple min margin fix - only increase container padding */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px !important;
  }
}

/* Laptop screens - better spacing for medium screens */
@media (min-width: 1024px) and (max-width: 1366px) {
  .container {
    padding: 0 40px !important;
  }
  
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .post-card {
    margin-bottom: 1rem;
  }
  
  .post-content {
    padding: 1rem;
  }
  
  .page-content {
    padding: 0 20px;
  }
}

/* Tablet screens - 2 columns */
@media (max-width: 1023px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Mobile screens - 1 column */
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.post-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Header */
.site-header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 0.5rem 0;
}

.navbar .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.logo:hover {
  opacity: 0.8;
}

.logo .main-text {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  color: #2D5A27;
  line-height: 1;
  margin-bottom: 2px;
  pointer-events: none;
}

.logo .tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #8FBC8F;
  background: #F5F5DC;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: lowercase;
  margin-left: 4px;
  pointer-events: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(45, 90, 39, 0.05);
}

.nav-item.has-submenu .nav-link::after {
  content: '▼';
  font-size: 0.7rem;
  margin-left: 0.5rem;
  transition: var(--transition);
}

.nav-item.has-submenu:hover .nav-link::after {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  padding: 0.75rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  border: 1px solid rgba(45, 90, 39, 0.1);
}

.nav-item.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.submenu-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.submenu-link:hover {
  color: var(--primary-color);
  background: rgba(45, 90, 39, 0.05);
}

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

.search-toggle,
.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-dark);
  z-index: 1002;
  position: relative;
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
  background: rgba(45, 90, 39, 0.05);
  color: var(--primary-color);
}

.search-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  width: 0;
  opacity: 0;
  background: white;
  overflow: hidden;
  white-space: nowrap;
}

.search-input.active {
  width: 200px;
  opacity: 1;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.1);
}

.search-input::placeholder {
  color: #6C757D;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
}

.hamburger {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}

.search-bar {
  background: var(--bg-light);
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.25s ease;
}

.search-bar.active {
  transform: translateY(0);
  opacity: 1;
}

.search-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.search-submit {
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-submit:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

/* Search Results */
.search-results {
  padding: 3rem 0;
}

.search-header {
  text-align: center;
  margin-bottom: 3rem;
}

.search-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.search-query {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.query-term {
  font-weight: 600;
  color: var(--primary-color);
}

.search-count {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.search-result {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.search-result:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.result-title {
  margin-bottom: 1rem;
}

.result-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  transition: var(--transition);
}

.result-link:hover {
  color: var(--secondary-color);
}

.result-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.result-type {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.result-date,
.result-category {
  color: var(--text-light);
  font-size: 0.9rem;
}

.result-excerpt {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.result-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-results h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.no-results p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.search-suggestions {
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.search-suggestions h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.search-suggestions ul {
  list-style: none;
  padding: 0;
}

.search-suggestions li {
  padding: 0.5rem 0;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

.search-suggestions li:last-child {
  border-bottom: none;
}

.search-suggestions a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.search-suggestions a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #F5F5DC 0%, #E8F5E8 100%);
  padding: 80px 0;
  min-height: 70vh;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #2D5A27;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 24px;
  color: #8FBC8F;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: #2D5A27;
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #1a3d1a;
}

.btn-secondary {
  border: 2px solid #8FBC8F;
  color: #2D5A27;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: white;
}

.stats-section h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #2D5A27;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: #F8F9FA;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #2D5A27;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #8FBC8F;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.stat-description {
  font-size: 16px;
  color: #666;
  line-height: 1.4;
}

/* Intro Section */
.intro-section {
  padding: 80px 0;
  background: white;
}

.intro-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.intro-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #2D5A27;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.learn-more-btn {
  display: inline-block;
  color: #2D5A27;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #8FBC8F;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  color: #8FBC8F;
  border-bottom-color: #2D5A27;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: #F8F9FA;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #2D5A27;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(135deg, #F5F5DC 0%, #E8F5E8 100%);
  padding: 60px 0;
}

/* Add space between nav bar and page title */
.page {
  padding-top: 2rem;
}

.page .page-header {
  margin-bottom: 1.5rem;
}

.page .page-content {
  margin-top: 1rem;
}

/* Category page spacing */
.category-page {
  padding-top: 2rem;
}

.category-header {
  margin-bottom: 2rem;
}

/* Ensure intro-tagline has proper spacing */
.intro-tagline {
  font-size: 18px;
  color: #8FBC8F;
  font-style: italic;
  margin-bottom: 2rem;
  text-align: left;
  display: block;
  width: 100%;
}

/* Contact page specific styling */
.contact .page-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact .page-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact .page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.contact .page-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact .page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

/* Privacy Policy Styling */
.privacy-policy-content {
  max-width: 100%;
  margin: 0;
  line-height: 1.5;
}

.privacy-policy-content .last-updated {
  text-align: left;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.privacy-policy-content .intro {
  background: #F8F9FA;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--primary-color);
}

.privacy-policy-content .policy-section {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #E9ECEF;
}

.privacy-policy-content .policy-section:last-child {
  border-bottom: none;
}

.privacy-policy-content h2 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.privacy-policy-content h3 {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.privacy-policy-content ul {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.privacy-policy-content li {
  margin-bottom: 0.25rem;
}

.privacy-policy-content .third-party-service {
  margin: 1rem 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid #F0F0F0;
}

.privacy-policy-content .third-party-service:last-child {
  border-bottom: none;
}

.privacy-policy-content .third-party-service h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
}

.privacy-policy-content .third-party-service p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.privacy-policy-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.privacy-policy-content a:hover {
  color: var(--secondary-color);
}

/* Privacy page specific spacing */
.privacy .page {
  padding-top: 1rem;
}

.privacy .page-header {
  margin-bottom: 1rem;
}

.page .page-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page .page-content p {
  margin-bottom: 1rem;
}

/* Story Section */
.story-section {
  margin: 3rem 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.story-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(45, 90, 39, 0.1);
}

.about-hero-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(45, 90, 39, 0.1);
}


.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.philosophy-item h3 {
  color: #2D5A27;
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.personal-list {
  list-style: none;
  padding: 0;
}

.personal-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.personal-list li::before {
  content: "💚";
  position: absolute;
  left: 0;
}

blockquote {
  background: #F5F5DC;
  border-left: 4px solid #8FBC8F;
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
  font-size: 18px;
  color: #2D5A27;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin: 40px 0;
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: #2D5A27;
  font-family: 'Playfair Display', serif;
}

.connect-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.about-cta {
  background: #F5F5DC;
  color: #2D5A27;
  padding: 60px 0;
  text-align: center;
  border-top: 3px solid #8FBC8F;
}

.about-cta h2 {
  color: #2D5A27;
  margin-bottom: 16px;
}

.about-cta p {
  color: #666;
  margin-bottom: 24px;
}

/* Sections */
section {
  padding: 2rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.title-icon {
  font-size: 2rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 2rem !important;
  padding-top: 1rem;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: none;
}

.post-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: fit-content;
}

.post-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-link:hover {
  text-decoration: none;
  color: inherit;
}

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

.featured-card {
  border: 2px solid var(--accent-color);
}

.post-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  height: 160px;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-content {
  padding: 1rem;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.read-more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.arrow {
  transition: var(--transition);
}

.read-more:hover .arrow {
  transform: translateX(3px);
}

.post-link:hover .read-more {
  color: var(--secondary-color);
}

.post-link:hover .read-more .arrow {
  transform: translateX(3px);
}


.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.category {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.post-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 600;
}

.post-content h2 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
}

.read-more {
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.category-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.category-card h3 a {
  color: var(--primary-color);
}

.category-card h3 a:hover {
  color: var(--secondary-color);
}

.category-card .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Benefits Section */
.benefits {
  background: var(--bg-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Posts List */
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.post-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-white);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.post-item:hover {
  box-shadow: var(--shadow-hover);
}

.post-item .post-image {
  flex: 0 0 150px;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-item .post-content {
  flex: 1;
  padding: 0;
}

.post-item .post-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.post-item .post-content p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.newsletter-content {
  position: relative;
  z-index: 2;
}

.newsletter-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.newsletter-content h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.newsletter-benefits .benefit {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  font-size: 1rem;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

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

.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

.newsletter-disclaimer {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

/* Blog Post Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.post-excerpt {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.pinterest-save {
  margin-top: 1rem;
}

.post-featured-image {
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-featured-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-body {
  font-size: 1rem;
  line-height: 1.6;
}

.content-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Consistent image sizing - all images same size */
.content-body img {
  max-width: min(100%, 600px);
  height: auto;
}

.content-body h2 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-body h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-body h1 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.content-body h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.content-body ul, .content-body ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

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

/* Affiliate Products */
.affiliate-products {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 3rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.product-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.price {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.affiliate-link {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  margin-top: 1rem;
}

.affiliate-link:hover {
  background: var(--secondary-color);
  color: white;
}

.affiliate-disclosure {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* Ad Units */
.ad-unit {
  margin: 2rem 0;
  text-align: center;
  background: var(--bg-light);
  padding: 1rem;
  border-radius: var(--border-radius);
}

/* Post Footer */
.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.post-tags {
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
}

.social-sharing {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.social-sharing h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.social-sharing a {
  display: inline-block;
  margin: 0.5rem 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-decoration: none;
}

.social-sharing a:hover {
  background: var(--secondary-color);
  color: white;
}

/* Footer */
.site-footer {
  background: #2D5A27;
  color: #F5F5DC;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about h3 {
  color: #F5F5DC;
  margin-bottom: 1rem;
}

.footer-about p {
  color: #F5F5DC;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-social h4 {
  color: #F5F5DC;
  margin-bottom: 1rem;
}

.footer-social a {
  display: block;
  color: #F5F5DC;
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 245, 220, 0.3);
}

.footer-bottom p {
  color: rgba(245, 245, 220, 0.8);
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: #F5F5DC;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #8FBC8F 0%, #6B9B6B 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    animation: slideUp 0.3s ease-out;
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-text a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-text a:hover {
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept {
    background: white;
    color: #8FBC8F;
}

.btn-accept:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-settings {
    background: transparent;
    color: white;
    border: none;
    text-decoration: underline;
    padding: 10px 16px;
}

.btn-settings:hover {
    text-decoration: none;
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0 0 10px 0;
    color: #8FBC8F;
    font-size: 24px;
}

.modal-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.cookie-category {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.cookie-category:last-child {
    border-bottom: none;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.category-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #8FBC8F;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.always-on {
    color: #8FBC8F;
    font-size: 14px;
    font-weight: 600;
}

.modal-footer {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .cookie-btn {
        width: 100%;
    }
}
