/*
Theme Name: Carole Kelly Coaching
Theme URI: https://github.com/conorkelly86/life-coach-wp-theme
Author: Conor Kelly
Author URI: https://github.com/conorkelly86
Description: A modern, responsive WordPress theme for Carole Kelly Coaching with custom Gutenberg blocks, pink design, and flexible content management
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.4
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: carole-kelly-coaching
Tags: blog, custom-menu, featured-images, flexible-header, custom-colors, editor-style, block-styles, full-width-template, coaching, pink-theme

Carole Kelly Coaching Theme, Copyright 2024-2026
Carole Kelly Coaching Theme is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   Google Fonts
   ========================================================================== */

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

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --text-color: #333;
  --text-light: #666;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --max-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --transition: all 0.3s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

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

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

a:hover {
  opacity: 0.8;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  background-color: #ffc0cb;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.site-branding {
  flex: 0 0 auto;
}

/* Header Social Links */
.header-social-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: var(--spacing-md);
}

.header-social-links .social-links {
  gap: var(--spacing-xs);
}

.header-social-links .social-links a {
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: 2px solid #e85a8b;
}

.header-social-links .social-links a:hover {
  background-color: #e85a8b;
  border-color: #e85a8b;
}

.header-social-links .social-links svg {
  width: 16px;
  height: 16px;
}

/* Mobile Social Links in Menu */
.mobile-social-links {
  display: none;
}

.custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.custom-logo {
  max-height: 120px;
  max-width: 350px;
  width: auto;
  height: auto;
  display: block;
}

.site-title {
  font-size: 1.5rem;
  margin: 0;
}

.site-title a {
  color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 768px) {
  .custom-logo {
    max-height: 70px;
    max-width: 200px;
  }
}

/* Main Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.primary-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  margin: 0;
  padding: 0;
}

.primary-menu li {
  margin: 0;
}

.primary-menu li a {
  color: #fb3573;
  font-weight: 600;
  font-size: 0.95rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  display: block;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.primary-menu li a:hover {
  color: #d14878;
}

.primary-menu li.current-menu-item a,
.primary-menu li.current_page_item a {
  color: #d14878;
}

.primary-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #fb3573;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.primary-menu li a:hover::after,
.primary-menu li.current-menu-item a::after,
.primary-menu li.current_page_item a::after {
  width: 80%;
}

/* Menu Button Style */
.primary-menu li.menu-item-button a {
  background-color: #e75480;
  color: var(--white) !important;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.primary-menu li.menu-item-button a:hover {
  background-color: #d04070;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 84, 128, 0.4);
}

.primary-menu li.menu-item-button a::after {
  display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .primary-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 80px var(--spacing-md) var(--spacing-md);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: 0;
  }

  .primary-menu.active {
    right: 0;
  }

  .primary-menu li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .primary-menu li a {
    padding: var(--spacing-sm);
  }

  .primary-menu li.menu-item-button {
    border-bottom: none;
    margin-top: var(--spacing-md);
  }

  .primary-menu li.menu-item-button a {
    width: 100%;
    text-align: center;
  }

  /* Hide desktop header social links on mobile */
  .header-social-links {
    display: none;
  }

  /* Show social links inside mobile menu */
  .mobile-social-links {
    display: block;
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-md);
    border-top: 1px solid #eee;
  }

  .mobile-social-links .social-links {
    justify-content: center;
    gap: var(--spacing-sm);
  }

  .mobile-social-links .social-links a {
    width: 36px;
    height: 36px;
  }

  .mobile-social-links .social-links svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Content Blocks (Flexible Image/Text Sections)
   ========================================================================== */

.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-xl) var(--spacing-sm);
}

@media (min-width: 768px) {
  .content-block {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    padding: 5rem var(--spacing-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  .content-block.image-right .block-image {
    order: 2;
    justify-self: start;
  }

  .content-block.image-right .block-content {
    order: 1;
    justify-self: end;
  }

  .content-block.image-left .block-image {
    justify-self: end;
  }

  .content-block.image-left .block-content {
    justify-self: start;
  }
}

/* Content blocks - full width */
.content-block {
  border-radius: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

@media (min-width: 768px) {
  .content-block {
    max-width: none;
    padding-left: max(
      var(--spacing-xl),
      calc((100vw - 1400px) / 2 + var(--spacing-xl))
    );
    padding-right: max(
      var(--spacing-xl),
      calc((100vw - 1400px) / 2 + var(--spacing-xl))
    );
  }
}

.block-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .block-image {
    max-height: 525px;
    max-width: 525px;
  }

  .block-image img {
    max-height: 525px;
    max-width: 525px;
    width: 100%;
    object-fit: cover;
  }
}

/* Image Shape Styles */

/* Circle Shape */
.content-block.shape-circle .block-image {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.content-block.shape-circle .block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Blob Shape (Organic) */
.content-block.shape-blob .block-image {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.content-block.shape-blob .block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Blob 2 Shape (Alternative organic shape) */
.content-block.shape-blob2 .block-image {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.content-block.shape-blob2 .block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* Rounded Rectangle */
.content-block.shape-rounded .block-image {
  border-radius: 20px;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

.content-block.shape-rounded .block-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

/* Backwards compatibility - keep circular-image class working */
.content-block.circular-image .block-image {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.content-block.circular-image .block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.block-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.block-content {
  padding: var(--spacing-md);
}

.block-content h2 {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.block-content p {
  margin-bottom: var(--spacing-md);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.block-content p strong {
  font-weight: 700;
  color: var(--text-color);
}

/* Pink Button Style */
.btn-pink {
  background-color: #e75480;
  color: var(--white);
  padding: 18px 48px;
  font-size: 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  margin-top: var(--spacing-md);
}

.btn-pink:hover {
  background-color: #d04070;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 84, 128, 0.4);
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */

.testimonial-section {
  background-color: var(--background-light);
  padding: var(--spacing-xl) 0;
}

.testimonial-section h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

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

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

.testimonial-card {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-content {
  margin-bottom: var(--spacing-sm);
  font-style: italic;
  color: var(--text-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-color);
}

.author-info p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ==========================================================================
   Services Cards Section
   ========================================================================== */

.services-cards-section {
  padding: 5rem 0;
  width: 100%;
}

.services-cards-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  max-width: var(--max-width);
}

.services-text-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.services-heading {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 var(--spacing-md) 0;
  font-weight: 700;
}

.services-introduction {
  line-height: 1.6;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
}

.service-card {
  position: relative;
  background: linear-gradient(135deg, #fb3573 0%, #fb3573 100%);
  padding: 2.5rem 2rem 6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 307 220" preserveAspectRatio="none"><path d="M 293.523438 0.0546875 L 13.476562 0.0546875 C 9.902344 0.0546875 6.476562 1.472656 3.949219 4 C 1.421875 6.527344 0 9.957031 0 13.53125 L 0 196.765625 C 16.328125 213.800781 68.585938 237.648438 146.96875 196.765625 C 225.351562 155.882812 286.316406 179.730469 307 196.765625 L 307 13.53125 C 307 9.957031 305.582031 6.527344 303.054688 4 C 300.527344 1.472656 297.097656 0.0546875 293.523438 0.0546875 Z" fill="black"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 307 220" preserveAspectRatio="none"><path d="M 293.523438 0.0546875 L 13.476562 0.0546875 C 9.902344 0.0546875 6.476562 1.472656 3.949219 4 C 1.421875 6.527344 0 9.957031 0 13.53125 L 0 196.765625 C 16.328125 213.800781 68.585938 237.648438 146.96875 196.765625 C 225.351562 155.882812 286.316406 179.730469 307 196.765625 L 307 13.53125 C 307 9.957031 305.582031 6.527344 303.054688 4 C 300.527344 1.472656 297.097656 0.0546875 293.523438 0.0546875 Z" fill="black"/></svg>');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.service-stars {
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-stars svg {
  display: block;
  width: auto;
  height: 24px;
}

.service-card-content {
  flex: 1;
  z-index: 2;
  position: relative;
  color: var(--white);
}

.service-title {
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.service-description {
  color: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  text-align: center;
}

.service-description p {
  color: var(--white);
  text-align: center;
}

.service-description.italic,
.service-description.italic p {
  font-style: italic;
}

/* Wavy bottom is now created with clip-path on the card itself */

/* ==========================================================================
   CTA Section Block
   ========================================================================== */

.cta-section {
  background-color: #ffc0d4;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.cta-section .container {
  max-width: 800px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.cta-section .block-content h2 {
  color: var(--white);
}

.cta-description p {
  color: var(--white);
}

.cta-description p:last-child {
  margin-bottom: 0;
}

.btn-cta {
  background-color: var(--white);
  color: #e85a8b;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  margin-bottom: var(--spacing-md);
}

.btn-cta:hover {
  background-color: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.cta-email-signup {
  margin-top: var(--spacing-md);
  width: 100%;
  max-width: 500px;
}

.email-heading {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  font-weight: 500;
  line-height: 1.4;
}

.email-signup-form {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.email-input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 1rem;
  background-color: var(--white);
  max-width: 400px;
}

.email-input::placeholder {
  color: #999;
}

.email-input:focus {
  outline: none;
  border-color: var(--white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.email-submit-btn {
  padding: 12px 30px;
  background-color: var(--white);
  color: #e85a8b;
  border: 2px solid var(--white);
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.email-submit-btn:hover {
  background-color: transparent;
  color: var(--white);
}

@media (max-width: 768px) {
  .cta-heading {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .email-signup-form {
    flex-direction: column;
    width: 100%;
  }

  .email-input {
    max-width: 100%;
    width: 100%;
  }

  .email-submit-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
  padding: var(--spacing-md) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 2px solid #e85a8b;
  border-radius: 50%;
  color: #e85a8b;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #e85a8b;
  color: #ffffff;
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  color: #666;
  font-size: 0.875rem;
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   WordPress Core Alignment Classes
   ========================================================================== */

.alignleft {
  float: left;
  margin-right: var(--spacing-md);
}

.alignright {
  float: right;
  margin-left: var(--spacing-md);
}

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

.alignwide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  max-width: 100%;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: var(--spacing-sm);
}
.mt-2 {
  margin-top: var(--spacing-md);
}
.mt-3 {
  margin-top: var(--spacing-lg);
}
.mt-4 {
  margin-top: var(--spacing-xl);
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: var(--spacing-sm);
}
.mb-2 {
  margin-bottom: var(--spacing-md);
}
.mb-3 {
  margin-bottom: var(--spacing-lg);
}
.mb-4 {
  margin-bottom: var(--spacing-xl);
}

/* ==========================================================================
   Full Width Template
   ========================================================================== */

.full-width
  .entry-content
  > *:not(.alignwide):not(.alignfull):not(.content-block):not(
    .testimonial-section
  ):not(.services-cards-section):not(.cta-section) {
  /* max-width: var(--max-width); */
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--spacing-sm);
}

.full-width .entry-content .content-block,
.full-width .entry-content .testimonial-section {
  max-width: 100%;
}

.full-width .entry-content .content-block .container,
.full-width .entry-content .testimonial-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* ==========================================================================
   Posts & Pages
   ========================================================================== */

.post-thumbnail {
  margin-bottom: var(--spacing-md);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.entry-header {
  margin-bottom: var(--spacing-md);
}

.entry-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: var(--spacing-sm);
}

.entry-meta span {
  margin-right: var(--spacing-sm);
}

.entry-content {
  margin-bottom: var(--spacing-lg);
}

.entry-footer {
  padding-top: var(--spacing-md);
  border-top: 1px solid #eee;
  font-size: 0.875rem;
}

.entry-footer span {
  margin-right: var(--spacing-sm);
}

.page-links {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* Post Navigation */
.post-navigation,
.posts-navigation {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.nav-previous,
.nav-next {
  flex: 1;
}

.nav-subtitle {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-xs);
}

.nav-title {
  font-weight: 600;
  color: var(--primary-color);
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 2px solid #eee;
}

.comments-title {
  margin-bottom: var(--spacing-md);
}

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

.comment {
  margin-bottom: var(--spacing-md);
}

.comment-body {
  padding: var(--spacing-md);
  background-color: var(--background-light);
  border-radius: 8px;
}

.comment-author {
  margin-bottom: var(--spacing-sm);
}

.comment-metadata {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.comment-content {
  margin-bottom: var(--spacing-sm);
}

.reply {
  font-size: 0.875rem;
}

.children {
  margin-left: var(--spacing-lg);
}

/* Comment Form */
.comment-form {
  margin-top: var(--spacing-lg);
}

.comment-form label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form input[type="submit"] {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.comment-form input[type="submit"]:hover {
  background-color: #2980b9;
}

/* ==========================================================================
   Search Form
   ========================================================================== */

.search-form {
  display: flex;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.search-submit {
  padding: 12px 20px;
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.search-submit:hover {
  background-color: #2980b9;
}

/* ==========================================================================
   Archive & 404 Pages
   ========================================================================== */

.page-header {
  margin-bottom: var(--spacing-lg);
  text-align: center;
  padding: var(--spacing-lg) 0;
  background-color: var(--background-light);
  border-radius: 10px;
}

.page-title {
  margin: 0;
}

.archive-description {
  margin-top: var(--spacing-sm);
  color: var(--text-light);
}

.error-404 {
  text-align: center;
  padding: var(--spacing-xl) 0;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--background-light);
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--primary-color);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .nav-links {
    flex-direction: column;
  }

  .children {
    margin-left: var(--spacing-md);
  }
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none;
  }
}

/* ==========================================================================
   WooCommerce Overrides
   ========================================================================== */

/* Hide WooCommerce store notice/header bar */
.woocommerce-store-notice,
.demo_store,
p.demo_store {
  display: none !important;
}

/* Hide WooCommerce admin bar if present */
#wpadminbar .woocommerce-embed-page {
  display: none !important;
}

/* Ensure WooCommerce doesn't add extra headers */
.woocommerce-notices-wrapper {
  margin-top: 0;
}

/* ==========================================================================
   Contact Form 7 Integration
   ========================================================================== */

/* General Contact Form 7 Styling */
.wpcf7 {
  max-width: 500px;
  margin: 0 auto;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7 input[type="email"],
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 1rem;
  background-color: var(--white);
  margin-bottom: 10px;
  font-family: inherit;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #999;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.wpcf7 input[type="submit"] {
  padding: 12px 30px;
  background-color: var(--white);
  color: #e85a8b;
  border: 2px solid var(--white);
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
}

.wpcf7 input[type="submit"]:hover {
  background-color: transparent;
  color: var(--white);
}

/* Contact Form 7 in CTA Section */
.cta-section .wpcf7 {
  margin-top: var(--spacing-md);
}

.cta-section .wpcf7 input[type="email"],
.cta-section .wpcf7 input[type="text"] {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Hide spinner */
.wpcf7-spinner {
  display: none;
}

/* Form messages */
.wpcf7-response-output {
  border: none;
  padding: 12px 20px;
  margin: 15px 0 0;
  border-radius: 5px;
  font-size: 0.9rem;
}

.wpcf7-mail-sent-ok {
  background-color: rgba(255, 255, 255, 0.9);
  color: #2ecc71;
  border: 2px solid #2ecc71;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  background-color: rgba(255, 255, 255, 0.9);
  color: #e74c3c;
  border: 2px solid #e74c3c;
}

/* Validation error styling */
.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 5px;
}

span.wpcf7-not-valid {
  border-color: #e74c3c !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .wpcf7 input[type="submit"] {
    width: 100%;
  }
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

/* Initial state - hidden */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animated state - visible */
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .fade-in-element {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Blog Block
   ========================================================================== */

.blog-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--background-light);
}

.blog-heading {
  display: none;
}

.blog-content-wrapper {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .blog-content-wrapper {
    grid-template-columns: 1fr 300px;
  }
}

.blog-main {
  min-width: 0;
}

.blog-sidebar {
  display: none;
}

@media (min-width: 768px) {
  .blog-sidebar {
    display: block;
  }
}

.blog-grid {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.blog-columns-1 {
  grid-template-columns: 1fr;
}

.blog-columns-2 {
  grid-template-columns: 1fr;
}

.blog-columns-3 {
  grid-template-columns: 1fr;
}

.blog-columns-4 {
  grid-template-columns: 1fr;
}

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

  .blog-columns-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-card-image a {
  display: block;
  height: 100%;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-card-content {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--text-light);
}

.blog-date,
.blog-author {
  display: inline-block;
}

.blog-author::before {
  content: "•";
  margin-right: var(--spacing-xs);
}

.blog-card-title {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: 1.5rem;
  line-height: 1.3;
}

.blog-card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--primary-pink);
}

.blog-card-excerpt {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
  flex: 1;
}

.blog-read-more {
  color: var(--primary-pink);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: auto;
}

.blog-read-more:hover {
  color: #d04070;
  transform: translateX(5px);
}

.no-posts-message {
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--text-light);
  font-size: 1.125rem;
}

.no-posts-message a {
  color: var(--primary-pink);
  text-decoration: none;
  font-weight: 600;
}

.no-posts-message a:hover {
  text-decoration: underline;
}

/* Blog Sidebar */
.blog-sidebar-widget {
  background-color: var(--white);
  border-radius: 8px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-sidebar-widget h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

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

.blog-sidebar-list li {
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid #f0f0f0;
}

.blog-sidebar-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-sidebar-list a {
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.4;
}

.blog-sidebar-list a:hover {
  color: var(--primary-pink);
}

.blog-sidebar-date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}
